package com.lanxiao.cloud.modules.oauth.domain.model;

import com.baomidou.mybatisplus.annotation.TableName;

/**
 * @author ：qiaoliang
 * @date ：2021-09-10
 */
@TableName(value = "sys_user_role",autoResultMap = true)
public class UserRole {

  private Long userId;

  private Long roleId;

  public UserRole() {
  }

  public UserRole(Long userId, Long roleId) {
    this.userId = userId;
    this.roleId = roleId;
  }

  public Long getUserId() {
    return userId;
  }

  public void setUserId(Long userId) {
    this.userId = userId;
  }

  public Long getRoleId() {
    return roleId;
  }

  public void setRoleId(Long roleId) {
    this.roleId = roleId;
  }
}
